//
//  CourseModel.m
//  studip
//
//  Created by anti on 05.07.10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "CourseModel.h"
#import "CourseDummyData.h"


@implementation CourseModel

@synthesize courseId = _courseId;
@synthesize courseName = _courseName;
@synthesize courseDescription = _courseDescription;
@synthesize courseNumber = _courseNumber;
@synthesize courseTimes = _courseTimes;
@synthesize courseInstructors = _courseInstructors;
@synthesize courseTutors = _courseTutors;
@synthesize courseFiles = _courseFiles;

- (id) initWithCourseId:(NSString *)courseId{

	CourseDummyData* dummy = [CourseDummyData alloc];
	CourseModel* dummyData = [dummy getDummyCourseById:courseId];
	self = dummyData;
	return self;
}

- (void) dealloc{

	[_courseId release];
	[_courseName release];
	[_courseDescription release];
	[_courseTimes release];
	[_courseInstructors release];
	[_courseTutors release];
	[_courseFiles release];
	[super dealloc];
}

@end
